<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport"
	content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />

	<title>首页</title>

	<link
		href="${ctxPath}/static/mall/AmazeUI-2.4.2/assets/css/amazeui.css"
		rel="stylesheet" type="text/css" />
	<link href="${ctxPath}/static/mall/AmazeUI-2.4.2/assets/css/admin.css"
		rel="stylesheet" type="text/css" />

	<link href="${ctxPath}/static/mall/basic/css/demo.css" rel="stylesheet"
		type="text/css" />

	<link href="${ctxPath}/static/mall/css/hmstyle.css" rel="stylesheet"
		type="text/css" />
	<script
		src="${ctxPath}/static/mall/AmazeUI-2.4.2/assets/js/jquery.min.js"></script>
	<script
		src="${ctxPath}/static/mall/AmazeUI-2.4.2/assets/js/amazeui.min.js"></script>
</head>

<body>
	<div class="hmtop">
		<!--顶部导航条 -->
		@layout("/mall/layout/mallTop.html"){}
		<div class="clear"></div>
	</div>
	<!-- <b class="line" style="height: 35px;"></b> -->
	<div class="shopNav">
		<div class="slideall" style="height: auto;">

			<div class="long-title">
				<span class="all-goods">全部分类</span>
			</div>
			<div class="nav-cont">
				<ul>
					<li class="index"><a href="${ctxPath}/front">首页</a></li>
			<li class="qc"><a target="_blank" href="${ctxPath!}/front/memberList">会员</a></li>
			<li class="qc"><a target="_blank" href="${ctxPath!}/front/blog/index">博客</a></li>
			<li class="qc"><a target="_blank" href="${ctxPath}/front/type">分类</a></li>
			<li class="qc last"><a target="_blank" href="${ctxPath}/front/index">第二首页</a></li>
			<li class="qc last"><a target="_blank" href="http://git.oschina.net/catshen/zsShop">git地址</a></li>
				</ul>
				<div class="nav-extra">
					<i class="am-icon-user-secret am-icon-md nav-user"></i><b></b>我的福利
					<i class="am-icon-angle-right" style="padding-left: 10px;"></i>
				</div>
			</div>

			<div class="bannerTwo">
				<!--轮播 -->
				<div class="am-slider am-slider-default scoll" data-am-flexslider
					id="demo-slider-0">
					<ul class="am-slides">
						<li class="banner1"><a href="${ctxPath!}/front/blog/index"><img
								src="${ctxPath}/static/mall/images/shop.png" /></a></li>
						<li class="banner2"><a><img src="${ctxPath}/static/mall/images/cms.png" /></a></li>
						<li class="banner3"><a><img src="${ctxPath}/static/mall/images/blog.png" /></a></li>
						<li class="banner4"><a><img src="${ctxPath}/static/mall/images/menu.png" /></a></li>
					</ul>
				</div>
				<div class="clear"></div>
			</div>

			<!--侧边导航 -->
			<div id="nav" class="navfull" style="position: static;">
				<div class="area clearfix">
					<div class="category-content" id="guide_2">

						<div class="category" style="box-shadow: none; margin-top: 2px;">
							<ul class="category-list navTwo" id="js_climit_li">
							@for(gc in gcList!){
								<li>
									<div class="category-info">
										<h3 class="category-name b-category-name">
											<i><img src="${ctxPath}/static/mall/images/cake.png" /></i><a target="_blank" class="ml-22"
												href="${ctxPath}/front/goods/goodsListBygcId/${gc.id!}" title="${gc.name!}">${gc.name!}</a>
										</h3>
										<em>&gt;</em>
									</div>
									<div class="menu-item menu-in top">
										<div class="area-in">
											<div class="area-bg">
												<div class="menu-srot">
													<div class="sort-side">
														@var gcList1 = productClass.getProductClassListByPid(gc.id);
														@for(gc1 in gcList1!){
														<dl class="dl-sort">
															<dt>
																<a title="${gc1.name!}" target="_blank" href="${ctxPath}/front/goods/goodsListBygcId/${gc1.id!}"><span>${gc1.name!}</span></a>
															</dt>
															@var gcList2 = productClass.getProductClassListByPid(gc1.id);
																@for(gc2 in gcList2!){
																<dd>
																	<a title="${gc2.name!}" target="_blank" href="${ctxPath}/front/goods/goodsListBygcId/${gc2.id!}"><span>${gc2.name!}</span></a>
																</dd>
																@}
														</dl>
														@}
													</div>
													<div class="brand-side">
														<dl class="dl-sort">
															<dt>
																<span>实力商家</span>
															</dt>
															@for(use in useList!){
															<dd>
																<a rel="nofollow" title="${use.truename!}" target="_blank"
																	href="${ctxPath!}/front/search/${use.id!}" rel="nofollow"><span class="red">${use.truename!}</span></a>
															</dd>
															@}
														</dl>
													</div>
												</div>
											</div>
										</div>
									</div> <b class="arrow"></b>
								</li>
								<b class="arrow"></b>
						@}		
							</ul>
						</div>
					</div>

				</div>
			</div>
			<!--导航 -->
			<script type="text/javascript">
				(function() {
					$('.am-slider').flexslider();
				});
				$(document)
						.ready(
								function() {
									$("li")
											.hover(
													function() {
														$(
																".category-content .category-list li.first .menu-in")
																.css("display",
																		"none");
														$(
																".category-content .category-list li.first")
																.removeClass(
																		"hover");
														$(this).addClass(
																"hover");
														$(this)
																.children(
																		"div.menu-in")
																.css("display",
																		"block")
													},
													function() {
														$(this).removeClass(
																"hover")
														$(this).children(
																"div.menu-in")
																.css("display",
																		"none")
													});
								})
			</script>


			<!--小导航 -->
			<div class="am-g am-g-fixed smallnav">
				<div class="am-u-sm-3">
					<a href="${ctxPath!}/front/type"><img src="${ctxPath}/static/mall/images/navsmall.jpg" />
						<div class="title">商品分类</div> </a>
				</div>
				<div class="am-u-sm-3">
					<a href="${ctxPath!}/front/blog/index"><img src="${ctxPath}/static/mall/images/huismall.jpg" />
						<div class="title">博客</div> </a>
				</div>
				<div class="am-u-sm-3">
					<a href="${ctxPath!}/person"><img src="${ctxPath!}/static/mall/images/mansmall.jpg" />
						<div class="title">个人中心</div> </a>
				</div>
				<div class="am-u-sm-3">
					<a href="${ctxPath}/front/index"><img src="${ctxPath}/static/mall/images/moneysmall.jpg" />
						<div class="title">投资理财</div> </a>
				</div>
			</div>


			<!--各类活动
			<div class="row">
				<li><a><img src="${ctxPath}/static/mall/images/row1.jpg" /></a></li>
				<li><a><img src="${ctxPath}/static/mall/images/row2.jpg" /></a></li>
				<li><a><img src="${ctxPath}/static/mall/images/row3.jpg" /></a></li>
				<li><a><img src="${ctxPath}/static/mall/images/row4.jpg" /></a></li>
			</div> -->
			<div class="clear"></div>
			<!--走马灯 -->

			<div class="marqueenTwo">
				<span class="marqueen-title"><i
					class="am-icon-volume-up am-icon-fw"></i>商城头条<em
					class="am-icon-angle-double-right"></em></span>
				<div class="demo">
					<ul>
					
						<li class="title-first"><a target="_blank" href="${ctxPath}/front/blog/index"> <img
								src="${ctxPath}/static/mall/images/TJ2.jpg"></img> <span>[${art.type!}]</span>${art.title!}
						</a></li>	
					
					</ul>

				</div>
			</div>
			<div class="clear"></div>
		</div>
		<script type="text/javascript">
			if ($(window).width() < 640) {
				function autoScroll(obj) {
					$(obj).find("ul").animate({
						marginTop : "-39px"
					}, 500, function() {
						$(this).css({
							marginTop : "0px"
						}).find("li:first").appendTo(this);
					})
				}
				$(function() {
					setInterval('autoScroll(".demo")', 3000);
				})
			}
		</script>
	</div>
	<div class="shopMainbg">
		<div class="shopMain" id="shopmain">

			<!--热门活动 -->

			<div class="am-container">

				<div class="sale-mt">
					<i></i> <em class="sale-title">限时秒杀</em>
					<div class="s-time" id="countdown">
						<span class="hh">01</span> <span class="mm">20</span> <span
							class="ss">59</span>
					</div>
				</div>


				<div class="am-g am-g-fixed sale">
				@for(item in page.list!){
					<div class="am-u-sm-3 sale-item">
						<div class="s-img">
							<a href="${ctxPath!}/front/goods/goodsDetail/${item.id!}"  target="_blank"><img src="${ctxPath!}/static/upload/project/${item.img!}" /></a>
						</div>
						<div class="s-info">
							<a href="${ctxPath!}/front/goods/goodsDetail/${item.id!}" target="_blank"><p class="s-title">${item.title!}</p></a>
							<div class="s-price">
								￥<b>${item.prices!}</b> <a class="s-buy" target="_blank" href="${ctxPath!}/front/information/${item.createBy!}">主页</a>
							</div>
						</div>
					</div>
			    @}
				</div>
			</div>
			<div class="clear "></div>
			@for(sp in spList!){
			<div class="f1">
				<!--甜点-->

				<div class="am-container ">
					<div class="shopTitle ">
						<h4 class="floor-title">${sp.name!}</h4>
						<div class="floor-subtitle">
							<em class="am-icon-caret-left"></em>
							<h3>${sp.title!}</h3>
						</div>
						<div class="today-brands " style="right: 0px; top: 13px;">
						
							   <a href="#">${sp.name!}</a>|
						   
						</div>

					</div>
				</div>

				<div class="am-g am-g-fixed floodSix ">
					<div class="am-u-sm-5 am-u-md-3 text-one list">
						<div class="word">
						
						@for(ty in typeList!){
							<a class="outer" target="_blank" href="${ctxPath}/front/goods/goodsListBygcTypeId/${ty.id!}"><span class="inner"><b
									class="text">${ty.name!}</b></span></a> 
						@}			
						</div>
						
						<a href="${sp.advurl!}">
						<img src="${ctxPath!}/static/upload/floorAdv/${sp.advimg!}" />					
								<div class="outer-con ">
									<div class="title ">
										大礼包开抢啦
									</div>					
									<div class="sub-title ">
										当小鱼儿恋上软豆腐
									</div>
								</div>
                                  			
							</a>
						<div class="triangle-topright"></div>
					</div>
					@var goodsList = productClass.getProductByFloorid(sp.id);
					<div class="am-u-sm-7 am-u-md-5 am-u-lg-2 text-two big">

						<div class="outer-con ">
							<div class="title ">${goodsList[0].title!}</div>
							<div class="sub-title ">¥${goodsList[0].prices!}
							<a class="s-buy" target="_blank" href="${ctxPath!}/front/information/${goodsList[0].createBy!}">主页</a>
							</div>

						</div>
						<a href="${ctxPath!}/front/goods/goodsDetail/${goodsList[0].id!}" target="_blank"><img src="${ctxPath!}/static/upload/project/${goodsList[0].img!}" /></a>
					</div>

					<li>
						<div class="am-u-md-2 am-u-lg-2 text-three">
							<div class="boxLi"></div>
							<div class="outer-con ">
								<div class="title ">${goodsList[1].title!}</div>
								<div class="sub-title ">¥${goodsList[1].prices!}
								<a class="s-buy" target="_blank" href="${ctxPath!}/front/information/${goodsList[1].createBy!}">主页</a>
								</div>

							</div>
							<a href="${ctxPath!}/front/goods/goodsDetail/${goodsList[1].id!}" target="_blank"><img src="${ctxPath!}/static/upload/project/${goodsList[1].img!}" /></a>
						</div>
					</li>
					<li>
						<div class="am-u-md-2 am-u-lg-2 text-three sug">
							<div class="boxLi"></div>
							<div class="outer-con ">
								<div class="title ">${goodsList[2].title!}</div>
								<div class="sub-title ">¥${goodsList[2].prices!}
								<a class="s-buy" target="_blank" href="${ctxPath!}/front/information/${goodsList[2].createBy!}">主页</a>
								</div>

							</div>
							<a href="${ctxPath!}/front/goods/goodsDetail/${goodsList[2].id!}" target="_blank"><img src="${ctxPath!}/static/upload/project/${goodsList[2].img!} " /></a>
						</div>
					</li>
					<li>
						<div class="am-u-sm-4 am-u-md-5 am-u-lg-4 text-five">
							<div class="boxLi"></div>
							<div class="outer-con ">
								<div class="title ">${goodsList[3].title!}</div>
								<div class="sub-title ">¥${goodsList[3].prices!}
								<a class="s-buy" target="_blank" href="${ctxPath!}/front/information/${goodsList[3].createBy!}">主页</a>
								</div>

							</div>
							<a href="${ctxPath!}/front/goods/goodsDetail/${goodsList[3].id!}" target="_blank"><img src="${ctxPath!}/static/upload/project/${goodsList[3].img!}" /></a>
						</div>
					</li>
					<li>
						<div class="am-u-sm-4 am-u-md-2 am-u-lg-2 text-six">
							<div class="boxLi"></div>
							<div class="outer-con ">
								<div class="title ">${goodsList[4].title!}</div>
								<div class="sub-title ">¥${goodsList[4].prices!}
								<a class="s-buy" target="_blank" href="${ctxPath!}/front/information/${goodsList[4].createBy!}">主页</a>
								</div>

							</div>
							<a href="${ctxPath!}/front/goods/goodsDetail/${goodsList[4].id!}" target="_blank"><img src="${ctxPath!}/static/upload/project/${goodsList[4].img!}" /></a>
						</div>
					</li>
					<li>
						<div class="am-u-sm-4 am-u-md-2 am-u-lg-4 text-six">
							<div class="boxLi"></div>
							<div class="outer-con ">
								<div class="title ">${goodsList[5].title!}</div>
								<div class="sub-title ">¥${goodsList[5].prices!}
								<a class="s-buy" target="_blank" href="${ctxPath!}/front/information/${goodsList[1].createBy!}">主页</a>
								</div>

							</div>
							<a href="${ctxPath!}/front/goods/goodsDetail/${goodsList[5].id!}" target="_blank"><img src="${ctxPath!}/static/upload/project/${goodsList[5].img!}" /></a>
						</div>
					</li>
				</div>

				<div class="clear "></div>
			</div>
			@}
			
			<div class="footer ">
				<div class="footer-hd ">
					<p>
						<a href="# ">zsCat科技</a> <b>|</b> <a href="# ">商城首页</a> <b>|</b> <a
							href="# ">支付宝</a> <b>|</b> <a href="# ">物流</a>
					</p>
				</div>
				<div class="footer-bd ">
					<p>
						<a href="# ">关于zsCat</a> <a href="# ">合作伙伴</a> <a href="# ">联系我们</a>
						<a href="# ">网站地图</a> <em>© 2015-2025 zsCat.com 版权所有</em>
					</p>
				</div>
			</div>
		</div>
	</div>
	</div>
	</div>

	<!--引导 -->
	<div class="navCir">
		<li class="active"><a href="${ctxPath}/front"><i
				class="am-icon-home "></i>首页</a></li>
		<li><a href="${ctxPath}/front/type"><i class="am-icon-list"></i>分类</a></li>
		<li><a href="${ctxPath}/person/order"><i
				class="am-icon-shopping-basket"></i>购物车</a></li>
		<li><a href="${ctxPath}/person"><i class="am-icon-user"></i>我的</a></li>
	</div>
	<!--菜单 -->
	<div class=tip>
		<div id="sidebar">
			<div id="wrap">
				<div id="prof" class="item ">
					<a href="# "> <span class="setting "></span>
					</a>
					<div class="ibar_login_box status_login ">
						<div class="avatar_box ">
							<p class="avatar_imgbox ">
								<img src="${ctxPath}/static/mall/images/no-img_mid_.jpg " />
							</p>
							<ul class="user_info ">
								<li>用户名：
						    @if(auth.isLogin()){ 
							  ${auth.getLoginUser().truename}
							@}else{ 
							      匿名
							@}
							</li>
								<li>级&nbsp;别：普通会员</li>
							</ul>
						</div>
						<div class="login_btnbox ">
							<a href="${ctxPath}/person/order" class="login_order ">我的订单</a> <a href="${ctxPath}/person/collection"
								class="login_favorite ">我的收藏</a>
						</div>
						<i class="icon_arrow_white "></i>
					</div>

				</div>
				<div id="shopCart " class="item ">
					<a href="${ctxPath}/person/cartList"> <span class="message "></span></a>
					<a href="${ctxPath}/person/cartList"> <p class="cart_num ">${productClass.selectOwnCartCount()}</p></a>
				</div>
				<div id="asset " class="item ">
					<a href="# "> <span class="view "></span>
					</a>
					<div class="mp_tooltip ">
						我的资产 <i class="icon_arrow_right_black "></i>
					</div>
				</div>

				<div id="foot " class="item ">
					<a href="${ctxPath}/person/foot"> <span class="zuji "></span>
					</a>
					<div class="mp_tooltip ">
						我的足迹 <i class="icon_arrow_right_black "></i>
					</div>
				</div>

				<div id="brand " class="item ">
					<a href="${ctxPath}/person/collection"> <span class="wdsc "><img
							src="${ctxPath}/static/mall/images/wdsc.png " /></span>
					</a>
					<div class="mp_tooltip ">
						我的收藏 <i class="icon_arrow_right_black "></i>
					</div>
				</div>

				<div id="broadcast " class="item ">
					<a href="# "> <span class="chongzhi "><img
							src="${ctxPath}/static/mall/images/chongzhi.png " /></span>
					</a>
					<div class="mp_tooltip ">
						我要充值 <i class="icon_arrow_right_black "></i>
					</div>
				</div>

				<div class="quick_toggle ">
					<li class="qtitem "><a href="# "><span class="kfzx "></span></a>
						<div class="mp_tooltip ">
							客服中心<i class="icon_arrow_right_black "></i>
						</div></li>
					<!--二维码 -->
					<li class="qtitem "><a href="#none "><span
							class="mpbtn_qrcode "></span></a>
						<div class="mp_qrcode " style="display: none;">
							<img src="${ctxPath}/static/mall/images/zscat_weixin.jpg" /><i
								class="icon_arrow_white "></i>
						</div></li>
					<li class="qtitem "><a href="#top " class="return_top "><span
							class="top "></span></a></li>
				</div>

				<!--回到顶部 -->
				<div id="quick_links_pop " class="quick_links_pop hide "></div>

			</div>

		</div>
		<div id="prof-content " class="nav-content ">
			<div class="nav-con-close ">
				<i class="am-icon-angle-right am-icon-fw "></i>
			</div>
			<div>我</div>
		</div>
		<div id="shopCart-content " class="nav-content ">
			<div class="nav-con-close ">
				<i class="am-icon-angle-right am-icon-fw "></i>
			</div>
			<div>购物车</div>
		</div>
		<div id="asset-content " class="nav-content ">
			<div class="nav-con-close ">
				<i class="am-icon-angle-right am-icon-fw "></i>
			</div>
			<div>资产</div>

			<div class="ia-head-list ">
				<a href="# " target="_blank " class="pl ">
					<div class="num ">0</div>
					<div class="text ">优惠券</div>
				</a> <a href="# " target="_blank " class="pl ">
					<div class="num ">0</div>
					<div class="text ">红包</div>
				</a> <a href="# " target="_blank " class="pl money ">
					<div class="num ">￥0</div>
					<div class="text ">余额</div>
				</a>
			</div>

		</div>
		<div id="foot-content " class="nav-content ">
			<div class="nav-con-close ">
				<i class="am-icon-angle-right am-icon-fw "></i>
			</div>
			<div>足迹</div>
		</div>
		<div id="brand-content " class="nav-content ">
			<div class="nav-con-close ">
				<i class="am-icon-angle-right am-icon-fw "></i>
			</div>
			<div>收藏</div>
		</div>
		<div id="broadcast-content " class="nav-content ">
			<div class="nav-con-close ">
				<i class="am-icon-angle-right am-icon-fw "></i>
			</div>
			<div>充值</div>
		</div>
	</div>
	<script>
			window.jQuery || document.write('<script src="${ctxPath}/static/mall/basic/js/jquery.min.js "><\/script>');
		</script>
	<script type="text/javascript "
		src="${ctxPath}/static/mall/basic/js/quick_links.js "></script>
</body>

</html>